package edu.ynmd.lzk.dao;

import edu.ynmd.lzk.model.ArsfcGeoProvinceEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface ProvinceDao extends JpaRepository<ArsfcGeoProvinceEntity,Integer> {
    @Query("select p.name from ArsfcGeoProvinceEntity p where p.adcode=:sf")

    String getProvinceNameBySfCode(@Param("sf") String sf);




}
